import { constantRoutes } from '@/router/index'

export default {
  namespaced: true,
  state: {
    menusList: []
  },
  mutations: {
    getMenus(state, paylaod) {
      state.menusList = [...constantRoutes, ...paylaod]
    }
  }
}
